package com.source.springmvc2x.controller;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Description:
 * User: Administrator
 * DateTime: 2017/7/8 0008 18:44
 */
public class XmlController extends AbstractController {
	@Override
	protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
		ModelAndView mv = new ModelAndView("add");
		mv.addObject("name", "tan");
		System.out.println("hhhh");
		return mv;
	}
}
